home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / bit / help / marking.hlp < prev    next >
Text File  |  1994-08-01  |  4KB  |  83 lines

  1.  
  2. @C1@c@b@_ Place Marks
  3.  
  4.      To place marks, defined as simple geometric figures(sgf), into an
  5.      image at locations addressable either by pixels or by some user 
  6.      defined coordinates units.
  7.  
  8. @b Interactions
  9.    An sgf is selected by clicking the mouse on the appropriate bitmaps
  10.    shown on top of the control panel. Upon its selection, the bitmap
  11.    is drawn in the main window with currently selected attributes,
  12.    including color, size and line width etc.
  13.  
  14.    To move the mark, simply click the mouse in the main window where
  15.    you want the object to be or by typing the new locations into the input
  16.    field labeled X and/or Y.
  17.  
  18.    For precise placement or sizing of the sgf, keyboard arrow keys and 
  19.    ijkl (as in VI(1)) and XxYy can be used. [1-9] controls the step size.
  20.    
  21.    All objects are designed with an aspect ratio of 1. To change aspect ratio,
  22.    turning off the KeepAsp button and scale x and y independently.  
  23.    (this is how to get a rectangle from a square or an ellipses from a circle).
  24.  
  25.    To change the orientation of the object, click mouse on Rotate button
  26.    or by typing rR (r counter-clockwise and R clockwise). [1-9] controls
  27.    the step size in degrees.
  28.  
  29.    To place the sgf into the image, press the OK button in the control panel.
  30.    
  31.    Note that there are two modes of operation: one is the immediate mode
  32.    in which upon pressing the OK button, the sgf is rendered directly into
  33.    the raster and the other is the deferred mode in which the sgf is saved
  34.    as a separate entity with full vector information. The deferred mode is
  35.    useful when a hardcopy is desired, for example, via PostScript, because
  36.    full vector info will be used to rendered the sgf on the printer which
  37.    typically has better a resolution than the screen.
  38.  
  39.    All lines are drawn anti-aliased using linesmooth and blendfunction
  40.    primitives if hardware is capable. Anti-aliasing is not performed if
  41.    the image in not in RGB mode or the line width is not 1. To turn
  42.    off anti-aliasing, See SmoothLines flag in Setup dialog or the man page.
  43.  
  44.    Anti-aliasing is performed at the final rendering stage (that is after
  45.    pressing the OK button), thus what you see while moving the marks is not
  46.    as good as what you will get.
  47.  
  48.    To toggle the mode of operation, press mouse on Immediate/Deferred
  49.    button.
  50.  
  51.    If all marks are rendered in deferred mode and later on, there is
  52.    a need to render these into raster, you can do a crop following
  53.    marking.
  54.  
  55. @b Coordinate Systems
  56.    By default, the coordinate units are pixels with the origin at the 
  57.    lower-left corner of the image. To switch to user defined coordinate
  58.    system, click the mouse on the round button labeled user/pixel. The
  59.    mapping between the user coordinates and pixels can be changed by 
  60.    inputting the mapping coefficient, defined as the ratio between 1 unit in
  61.    the pixel coordinate system and the value it represents in the new
  62.    system, in fields labeled MX and MY. For example, if 1 pixel-pixel
  63.    distance represents 2.1 miles, you would enter 0.476, that is 1/2.1.
  64.    Then all requests should be made in this new units, such as moving
  65.    the sgf 10 miles west etc.
  66.  
  67.    To move the origin, press the button labeled SetOrigin, the location
  68.    where the object currently is will become the origin.
  69.  
  70. @b Reporting
  71.    For speed reasons, only the x- and y- components are reported by
  72.    default. To get the distance from the origin, (sqrt(x*x + y*y), turn
  73.    on the Dreport option.
  74.  
  75. @b Note
  76.    In Immediate mode, rendering outside the image is clipped. To
  77.    render an sgf outside the image, do it in deferred mode and then
  78.    do a crop with proper filling. Or enlarge the image using crop
  79.    first, then render the marks.
  80.  
  81.    If for whatever reason you want to turn off anti-aliasing, use
  82.    the Setup entry SmoothLines.
  83.